package com.ruoyi.kk.destination.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 徒步目的地信息对象 kk_hiking_destination
 * 
 * @author kk
 * @date 2025-06-09
 */
public class KkHikingDestination extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一主键 */
    private Long id;

    /** 省份 */
    @Excel(name = "省份")
    private String province;

    /** 地市 */
    @Excel(name = "地市")
    private String city;

    /** 区县 */
    @Excel(name = "区县")
    private String county;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 难度（1-10星） */
    @Excel(name = "难度", readConverterExp = "1=-10星")
    private Long difficulty;

    /** 海拔(单位：米) */
    @Excel(name = "海拔(单位：米)")
    private BigDecimal maxAltitude;

    /** 行程(单位：公里) */
    @Excel(name = "行程(单位：公里)")
    private BigDecimal hikingDistance;

    /** 拔高(单位：米) */
    @Excel(name = "拔高(单位：米)")
    private BigDecimal elevationGain;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 是否启用（Y是 N否） */
    @Excel(name = "是否启用", readConverterExp = "Y=是,N=否")
    private String enabled;

    /** 创建人ID */
    @Excel(name = "创建人ID")
    private Long createdById;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新人ID */
    @Excel(name = "更新人ID")
    private Long updatedById;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updatedBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }

    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }

    public void setCounty(String county) 
    {
        this.county = county;
    }

    public String getCounty() 
    {
        return county;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setDifficulty(Long difficulty) 
    {
        this.difficulty = difficulty;
    }

    public Long getDifficulty() 
    {
        return difficulty;
    }

    public void setMaxAltitude(BigDecimal maxAltitude) 
    {
        this.maxAltitude = maxAltitude;
    }

    public BigDecimal getMaxAltitude() 
    {
        return maxAltitude;
    }

    public void setHikingDistance(BigDecimal hikingDistance) 
    {
        this.hikingDistance = hikingDistance;
    }

    public BigDecimal getHikingDistance() 
    {
        return hikingDistance;
    }

    public void setElevationGain(BigDecimal elevationGain) 
    {
        this.elevationGain = elevationGain;
    }

    public BigDecimal getElevationGain() 
    {
        return elevationGain;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setEnabled(String enabled) 
    {
        this.enabled = enabled;
    }

    public String getEnabled() 
    {
        return enabled;
    }

    public void setCreatedById(Long createdById) 
    {
        this.createdById = createdById;
    }

    public Long getCreatedById() 
    {
        return createdById;
    }

    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }

    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    public void setUpdatedById(Long updatedById) 
    {
        this.updatedById = updatedById;
    }

    public Long getUpdatedById() 
    {
        return updatedById;
    }

    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }

    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("province", getProvince())
            .append("city", getCity())
            .append("county", getCounty())
            .append("name", getName())
            .append("difficulty", getDifficulty())
            .append("maxAltitude", getMaxAltitude())
            .append("hikingDistance", getHikingDistance())
            .append("elevationGain", getElevationGain())
            .append("description", getDescription())
            .append("enabled", getEnabled())
            .append("createdById", getCreatedById())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedById", getUpdatedById())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .toString();
    }
}
